package com.mvd.app.application;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class SharedDatabaseHelper extends SQLiteOpenHelper {
    private static final String AUTHORITY = "com.mvd.app.application.provider";
    private static final String DATABASE_NAME = "pda_shenbang_011.db";
    private static final String TABLE_NAME = "video_upload_model";
    private static final int DATABASE_VERSION = 7;
//    private static final String DATABASE_NAME = "shared.db";
//    private static final int DATABASE_VERSION = 1;

    public SharedDatabaseHelper(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
//        db.execSQL("CREATE TABLE IF NOT EXISTS shared_data (id INTEGER PRIMARY KEY, data TEXT)");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//        db.execSQL("DROP TABLE IF EXISTS shared_data");
//        onCreate(db);
    }
}